package net.zjitc.manager;

import net.zjitc.Student;

import java.util.ArrayList;
import java.util.List;


public class StudentServiceImpl implements StudentService {
    private static List<Student> students = new ArrayList<>();

    static {
        students.add(new Student("1", "张三", 90));
        students.add(new Student("2", "李四", 20));
        students.add(new Student("3", "王五", 20));
        students.add(new Student("4", "赵六", 30));
        students.add(new Student("5", "田七", 10));
        students.add(new Student("6", "张三", 60));
        students.add(new Student("7", "夏兰", 50));
        students.add(new Student("8", "季水", 80));

    }

    /**
     * 根据id删除
     *
     * @param id
     **/
    @Override
    public void deleteStudentById(String id) {

    }

    /**
     * 添加一个学生
     **/
    @Override
    public void addStudent(Student student) {

    }

    /**
     * 根据姓名查询学生
     **/

    @Override
    public void queryStudentByName(String name) {

    }


    /**
     * 更新学生记录
     **/
    @Override
    public void updateStudent(Student student) {

    }


    /**
     * 展示所有的学生信息
     **/
    @Override
    public void showAllStudent() {

    }
}
